#ifndef POINT_H_
#define POINT_H_

#include "BearFactory.h"
#include "PointBear.h"

class Point 
	: public PointBear
{
public:
	Point()
	{
		//DOES NOTHING
	}
	virtual ~Point()
	{
		//DOES NOTHING
	}
};

//BUILD_FACTORY( Point );

class PointFactory 
	: public BBFactory 
{ 
public:
	PointFactory()
	{
		//REGISTER_FACTORY( Point);
		BearFactory::instance()->registerFactory( "Point", this );
	}
	~PointFactory()
	{
		//DOES NOTHING
	}

	virtual Bear* instance() const 
	{
		return new Point();
	}
};

Q_DECLARE_METATYPE( Point );

#endif
